WASTE is a text editing library for Macintosh programmers.
Designed to be a viable replacement for TextEdit, WASTE offers several enhancements, the major one being the ability to handle text files larger than 32K.
Like TextEdit, WASTE handles multi-styled text and relies on the services offered by the Script Manager for drawing, measuring and hit-testing the text and for finding word and line breaks. The built-in support for inline input makes WASTE fully WorldScript II-compliant (on the other hand, bidirectional scripts, like Arabic, are not supported).
The latest version of WASTE can be downloaded from:
This document is provided mainly to give you an opportunity to play with the WASTE Demo application; the real documentation (in Microsoft Word format) is in a separate file.
Send comments and suggestions to the author at the following address:
Marco Piovanelli
Mail: 26, via del Sebino — I-25126 Brescia — Italy
E-mail: <URL:mailto:piovanel@dsi.unimi.it>
PS: I read my Internet mail only once a week, so don’t expect prompt replies.
Changes from version 1.0
There are many significant changes from version 1.0, including:
• Embedded objects. WASTE 1.1 lets you embed pictures and other objects in the text as if they were ordinary glyphs.
• Built-in support for the Drag Manager.
• Built-in undo.
• Low-level hooks for drawing and measuring text. Although these hooks are still undocumented, the WASTE Demo application contains sample code showing how these hooks can be used to implement real tabs.
CWASTE and the CWASTEText Classes
Dan Crevier (<URL:mailto:dan@rhino.harvard.edu>) wrote CWASTE, a straight port of WASTE to C and the CWASTEText Classes, a set of wrapper C++ classes for WASTE, to be used in conjunction with the THINK Class Library (version 2.0.3 or newer). Both items are available from:
<URL:ftp://rhino.harvard.edu/pub/dan/>
CWASTE includes some enhancements contributed by other developers not found in the current Pascal version.
WASTE Mailing List
A simple, informal mailing list has been set up to keep in touch developers working with/on WASTE. To join the list, send a request to:
<URL:mailto:waste-request@umich.edu>
To post a message to the list, send it to:
<URL:mailto:waste@umich.edu>
Finally, to list the members of the mailing list, finger the above address.
WASTE Web Page
There is also a WWW page dedicated to WASTE, kindly maintained by Alan Steremberg (<URL:mailto:alans@umich.edu>) and Dan Crevier: